import { Route, Routes, BrowserRouter, useNavigate } from "react-router-dom";
import routes from "../router";
function Login() {
    const tiao = useNavigate()
  return (
      <div className="App">
        <div className="login">
          <div className="left">
            <p className="blue">舆情监控系统后台管理-IT营</p>
            <p>
              用户名:&nbsp;<input></input>
            </p>
            <p>
              &nbsp;&nbsp;&nbsp;密码:&nbsp;<input></input>
            </p>
            <p>
              验证码:&nbsp;<input></input>
            </p>
            <button className="btn" onClick={()=>{tiao('/home')}}>进入管理中心</button>
          </div>
          <div className="right">
            <img src={require("../img/1.jpg")} className="img"></img>
          </div>
        </div>

        
      </div>
   
  );
}
export default Login;
